package com.example.demo.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@AllArgsConstructor//全参构造函数
@NoArgsConstructor// 无参构造函数
@Data
public class PageResponse<T> {

    private Integer total;
    private List<T> records;

    private PageRequest request;

}
